package com.jingxing.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jingxing.pojo.ReceivingRecord;
import com.jingxing.provider.ReceivingRecordMapperProvider;
import org.apache.ibatis.annotations.SelectProvider;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ReceivingRecordMapper extends BaseMapper<ReceivingRecord> {

    @SelectProvider(type = ReceivingRecordMapperProvider.class, method = "getReceivingRecords")
    List<ReceivingRecord> getReceivingRecords(String playerName, String prizeName);


}
